package cn.zf233.xcloud;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@MapperScan(basePackages = "cn.zf233.xcloud.mapper")
@EnableTransactionManagement
@EnableRedisHttpSession(maxInactiveIntervalInSeconds = 3600)
@EnableAspectJAutoProxy(exposeProxy = true)
public class XCloudApplication {

    public static void main(String[] args) {
        SpringApplication.run(XCloudApplication.class, args);
    }
}
